package com.java3_21;

import java.util.concurrent.Callable;

//使用Callable接口创建线程
public class CallableThread implements Callable
{
    @Override
    public Integer call() throws Exception {
        System.out.println("This is a test !");
        return 1024;
    }
}
